import request from '@/utils/request'

// 查询压力报列表
export function listDispatchPressureReportForms(query) {
  return request({
    url: '/dispatch/system/dispatchPressureReportForms/list',
    method: 'get',
    params: query
  })
}

// 查询压力报详细
export function getDispatchPressureReportForms(pressureReportFormsId) {
  return request({
    url: '/dispatch/system/dispatchPressureReportForms/' + pressureReportFormsId,
    method: 'get'
  })
}

// 新增压力报
export function addDispatchPressureReportForms(data) {
  return request({
    url: '/dispatch/system/dispatchPressureReportForms',
    method: 'post',
    data: data
  })
}

// 修改压力报
export function updateDispatchPressureReportForms(data) {
  return request({
    url: '/dispatch/system/dispatchPressureReportForms',
    method: 'put',
    data: data
  })
}

// 删除压力报
export function delDispatchPressureReportForms(pressureReportFormsId) {
  return request({
    url: '/dispatch/system/dispatchPressureReportForms/' + pressureReportFormsId,
    method: 'delete'
  })
}
